package request

import "company_website/src/model/common"

type GetTopicByIdModel struct {
	Id int `json:"id" form:"id"`
}
type GetTopicByCategoryModel struct {
	Category string `json:"category" form:"category"` //类型名
	common.PageReqInfo
}
type GetTopicByTitleModel struct {
	Title string `json:"title" form:"json"`
}
type AddTopicModel struct {
	Category string `json:"category" form:"category"`
	Title    string `json:"title" form:"json"`
	Content  string `json:"content" form:"content"`
}
type ModifyTopicModel struct {
	Id       int    `json:"id" form:"id"`
	Category string `json:"category" form:"category"`
	Title    string `json:"title" form:"json"`
	Content  string `json:"content" form:"content"`
}
type DeleteTopicByIdModel struct {
	Id int `json:"id" form:"id"`
}
type ReleaseTopicByIdModel struct {
	Id int `json:"id" form:"id"`
}
